UITextView

extension Reactive where Base: UITextView

The reactive extension can be accessed through the reactive instance property and the reactive static property.

  • Sets the text of the text view.

    Declaration

    Swift

    public var text: BindingTarget<String?>
  • A signal of text values emitted by the text view upon end of editing.

    Note

    To observe text values that change on all editing events, see continuousTextValues.

    Declaration

    Swift

    public var textValues: Signal<String?, NoError>
  • A signal of text values emitted by the text view upon any changes.

    Note

    To observe text values only when editing ends, see textValues.

    Declaration

    Swift

    public var continuousTextValues: Signal<String?, NoError>
  • Sets the attributed text of the text view.

    Declaration

    Swift

    public var attributedText: BindingTarget<NSAttributedString?>
  • A signal of attributed text values emitted by the text view upon end of editing.

    Note

    To observe attributed text values that change on all editing events, see continuousAttributedTextValues.

    Declaration

    Swift

    public var attributedTextValues: Signal<NSAttributedString?, NoError>
  • A signal of attributed text values emitted by the text view upon any changes.

    Note

    To observe text values only when editing ends, see attributedTextValues.

    Declaration

    Swift

    public var continuousAttributedTextValues: Signal<NSAttributedString?, NoError>